package com.framework.service.yhbservice;

import com.baomidou.mybatisplus.service.IService;
import com.framework.page.PageUtils;
import com.framework.yhbEntity.notice.YhbNotice;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface YhbNoticeService extends IService<YhbNotice> {

    List<YhbNotice> getIndexNotice(String token);

    List<YhbNotice> getNoticeList(String token);

    YhbNotice queryNoticeByNo(String token, String noticeNo);

    PageUtils queryNoticePage(Map<String, Object> params);

    void insertNewNotice(String coverUrl, Long deptId, HttpServletRequest request);
}
